package design.FactoryDesign;
//具体实现实例化，单一职责原则
public class JavaCourseFactory implements IcourseFactory  {

    @Override
    public Icourse1 create() {
        return   new JavaCourse1();
    }
}
